Pixeldev\SquareWooSync\REST\SettingsController A

Total Complexity 55
Dependencies 11
Dependents 1
Total lines 585
Lines of code 405
Logical lines of code 206
Comment lines 79
Methods 18
Properties 2

Methods 18

Method Rating Maintainability Complexity Lines of code
get_cron()
A
41 12 51
register_routes()
A
36 1 128
update_settings()
S
51 6 27
get_settings()
S
53 5 22
handle_export_to_square()
S
49 4 31
update_webhook_status()
S
55 4 17
get_shipping_methods()
S
58 3 15
update_inventory_for_all_products()
S
59 3 15
get_access_token()
S
61 3 11
export_to_square()
S
57 2 16
update_gateway_settings()
S
58 2 14
set_access_token()
S
59 2 13
get_webhook_status()
S
70 2 5
get_gateway_settings()
S
62 2 10
get_all_products()
S
60 1 13
get_modifiers()
S
71 1 5
delete_access_token()
S
67 1 7
get_locations()
S
71 1 5